from .models import Cabinet, Server
from rest_framework import serializers

class CabinetSerializer(serializers.ModelSerializer):

    class Meta:
        model = Cabinet
        fields = "__all__"

class ServerSerializer(serializers.ModelSerializer):

    class Meta:
        model = Server
        fields = "__all__"
